package com.xuhai.blog19.admin.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 验证码表
 *
 * @author Kakarot
 * @email ${email}
 * @date 2023-02-03 21:21:42
 */
@Data
@TableName("sys_code")
public class CodeEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private String uuid;
	/**
	 * 验证码
	 */
	private String code;
	/**
	 * 有效期
	 */
	private Date expires;

}
